package driver.util;

/*
 * 常量类
 */
public class Constants {
    //    用于应用更新 google商店
    public static String GOOGLE_PLAY = "com.android.vending";
    //    用于google商店打开本应用
    public static String FLASH_DRIVER_PACKAGE_NAME = "driver.android";
    //    测试环境
//    public static String ROOT = "https://apidev.flashthesloth.com/V1/driver/";
//    public static String ROOT = "http://apidev.flashthesloth.com/V1/driver/";
//    生产环境
    public static String ROOT = "https://api.flashthesloth.com/V1/driver/";
    public static String LOGIN = "auth";
    public static String USER_INFO = "/information";
    public static String ON_LINE_INFO = "/setting/status";
    public static String TASK_IN_AVAILABLE = "/tasks/available";
    public static String TASK_IN_PROGRESS = "/tasks/inprocess";
    public static String TASK_IGNORE = "/task/ignore";
    public static String UPDATE_TASK = "/task";
    public static String DETAIL_TASK_ITEM = "/task";
    public static String LOG_OUT = "/logout";
    public static String UPDATE_PASSWORD = "/password";
    public static String EARNINGS = "/billing/earnings";
    public static String REGISTER_DEVICE_TOKEN = "/app/android/register/token";
    //    用户检测APP是否需要更新
    public static final String UPDATE_CHECK_URL = "update/android";
    public static final int AVAILABLE_TASK_AT_TIME = 89;
    public static final int APP_SERVER_INFO_SUCCESS_MESSAGE = 90;
    public static final int APP_SERVER_INFO_FAIL_MESSAGE = 91;
    public static final int LOGIN_SUCCESS_MESSAGE = 100;
    public static final int LOGIN_FAILS_MESSAGE = 101;
    public static final int LOGIN_SUCCESS_FORMAT_ERROR = 102;
    public static final int PROGRESS_RECEIVE_SUCCESS_MESSAGE = 103;
    public static final int PROGRESS_RECEIVE_FAIL_MESSAGE = 104;
    public static final int LOG_OUT_FAIL_MESSAGE = 105;
    public static final int LOG_OUT_SUCCESS_MESSAGE = 106;
    public static final int UPDATE_PASSWORD_SUCCESS_MESSAGE = 107;
    public static final int UPDATE_PASSWORD_FAIL_MESSAGE = 108;
    public static final int UN_KNOW_RESPONSE_CODE = 109;
    public static final int UN_KNOW_RESPONSE_401_CODE = 110;
    public static final int EARNING_DETAIL_SUCCESS = 111;
    public static final int EARNING_DETAIL_FAIL = 112;
    public static final int GOOGLE_TOKEN_SEND_SUCCESS = 113;
    public static final int GOOGLE_TOKEN_SEND_FAIL = 114;
    public static final int GET_TASK_DETAIL = 115;
}
